package borge.web.teamspirit.client.interfaces;

import java.io.Serializable;

import borge.web.teamspirit.client.servercomm.DBQueryResults;

public interface ServerCallbackHandler {

    public enum CallbackType {CREATED, UPDATED, DELETED, RETRIEVED_DATA, USER_LOGGED_IN, USER_LOGGED_OUT, SESSION_VALIDITY, UNIQUE_DATA };
    
    public void handleServerCallback(DBQueryResults aResult, CallbackType aType);
    public void handleServerError(Throwable t);
    
}
